package keer.httpinterface.http;

import keer.httpinterface.utils.AnnotationInfo;

import java.lang.reflect.Method;

public interface HttpRequestContext {
    String url();

    Headers headers();

    HttpMethod method();

    Class<?> interfaceClass();

    Method interfaceMethod();

    AnnotationInfo httpInterfaceAnnotation();

    AnnotationInfo requestAnnotation();

//    static HttpRequestContext getInstance(AnnotationInfo httpInterface,
//                                          String url,
//                                          HttpMethod method,
//                                          Class<?> interfaceClass,
//                                          Method interfaceMethod,
//                                          AnnotationInfo requestAnnotation) {
//        return new DefaultHttpRequestContext(httpInterface, url, method, interfaceClass, interfaceMethod, requestAnnotation);
//    }
}
